package cn.exrick.xboot.modules.workovertime.service;

import cn.exrick.xboot.common.vo.Result;
import cn.exrick.xboot.modules.workovertime.VO.*;
import cn.exrick.xboot.modules.workovertime.entity.HkOvertimeDetail;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hml
 * @since 2023-08-31
 */
public interface IHkOvertimeDetailService extends IService<HkOvertimeDetail> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param hkOvertimeDetail
     * @return
     */
    IPage<HkOvertimeDetail> selectPage(Page<HkOvertimeDetail> page, HkOvertimeDetail hkOvertimeDetail);

    List<HkOvertimeDetail> selectList(HkOvertimeDetail hkOvertimeDetail);

    /**
     * 考核详情
     * @param processInstanceId
     * @return
     */
    HkassessmentOvertimeAndRecordVo getHkOvertimeDetial(String processInstanceId);

    List<HkOvertimeInfoNameAndUserNickVo> getHkOvertimeInfoAndUserNickNameByOutput(HkOvertimeByPageVo hkOvertimeByPageVo);

    List<HkOvertimeInfoNameAndUserNickVo> getHkOvertimeSummarizingAndUserNickName(HkOvertimeByPageVo hkOvertimeByPageVo);

    List<HkOvertimeSummarizingByMonthVo> getHkOvertimeSummarizingByMonth(HkOvertimeByPageVo hkOvertimeByPageVo);

}